package com.sgb.kjwl.model.entity;

import com.swgk.core.view.entity.MenuEntity;

import java.io.Serializable;
import java.util.List;


/**
 * @Author : 作者  Gw
 * @Time : 2021/3/8 21:55
 * @Page: com.sgb.kjwl.model.entity
 * @Description :
 */
public class HomeMenuEntity implements Serializable {

    /**
     * type : material
     * data : {"tagList":[{"name":"材料/商品","childList":[{"name":"钢材","id":3},{"name":"0201测试商品一级类目","id":1089},{"name":"测试分类3","id":1054},{"name":"钢筋1","id":1030},{"name":"水泥","id":6},{"name":"测试分类202011121吖","id":1060},{"name":"新增类目编辑","id":1059},{"name":"商砼","id":7},{"name":"砂石料","id":45},{"name":"砖/水泥制品","id":46},{"name":"沥青","id":41},{"name":"油品3","id":38},{"name":"电线电缆","id":195},{"name":"管道阀门","id":100},{"name":"防水保温","id":44},{"name":"五金工具","id":331},{"name":"五金配件","id":369},{"name":"门窗","id":422},{"name":"园林绿化","id":459},{"name":"仪器仪表","id":528},{"name":"电气设备","id":198},{"name":"标识标牌","id":318},{"name":"金属制品","id":242},{"name":"装修材料","id":275},{"name":"项目临建","id":294},{"name":"石材","id":594},{"name":"矿产品","id":923},{"name":"化工用品","id":924},{"name":"机械","id":926},{"name":"仪器","id":927},{"name":"办公用品","id":605},{"name":"设备","id":967},{"name":"农产品","id":929},{"name":"农资","id":930},{"name":"纺织皮革","id":931},{"name":"新型钢材","id":856},{"name":"五金五金","id":853},{"name":"施工邦钢材","id":1021}]}],"bannerList":[{"name":"精选","id":1},{"name":"供应商","id":2},{"name":"询价采购","id":3},{"name":"促销","id":4}]}
     */

    private String type;
    private DataBean data;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private List<TagListBean> tagList;
        private List<BannerEntity> bannerList;

        public List<TagListBean> getTagList() {
            return tagList;
        }

        public void setTagList(List<TagListBean> tagList) {
            this.tagList = tagList;
        }

        public List<BannerEntity> getBannerList() {
            return bannerList;
        }

        public void setBannerList(List<BannerEntity> bannerList) {
            this.bannerList = bannerList;
        }

        public static class TagListBean implements Serializable {
            /**
             * name : 材料/商品
             * childList : [{"name":"钢材","id":3},{"name":"0201测试商品一级类目","id":1089},{"name":"测试分类3","id":1054},{"name":"钢筋1","id":1030},{"name":"水泥","id":6},{"name":"测试分类202011121吖","id":1060},{"name":"新增类目编辑","id":1059},{"name":"商砼","id":7},{"name":"砂石料","id":45},{"name":"砖/水泥制品","id":46},{"name":"沥青","id":41},{"name":"油品3","id":38},{"name":"电线电缆","id":195},{"name":"管道阀门","id":100},{"name":"防水保温","id":44},{"name":"五金工具","id":331},{"name":"五金配件","id":369},{"name":"门窗","id":422},{"name":"园林绿化","id":459},{"name":"仪器仪表","id":528},{"name":"电气设备","id":198},{"name":"标识标牌","id":318},{"name":"金属制品","id":242},{"name":"装修材料","id":275},{"name":"项目临建","id":294},{"name":"石材","id":594},{"name":"矿产品","id":923},{"name":"化工用品","id":924},{"name":"机械","id":926},{"name":"仪器","id":927},{"name":"办公用品","id":605},{"name":"设备","id":967},{"name":"农产品","id":929},{"name":"农资","id":930},{"name":"纺织皮革","id":931},{"name":"新型钢材","id":856},{"name":"五金五金","id":853},{"name":"施工邦钢材","id":1021}]
             */

            private String name;
            private List<MenuEntity> childList;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<MenuEntity> getChildList() {
                return childList;
            }

            public void setChildList(List<MenuEntity> childList) {
                this.childList = childList;
            }

        }
    }
}
